package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.BtyBxd;
import cn.stylefeng.guns.sys.modular.system.entity.BtyBxda;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 报销档案表 Mapper 接口
 * </p>
 * @author liuy
 * @since
 */
public interface BtyBxdMapper extends BaseMapper<BtyBxd> {

    /**
     * 获取报销单列表
     */
    Page<Map<String, Object>> list(@Param("page") Page page, @Param("condition") String condition,@Param("status") String status,@Param("flag") String flag,@Param("beginTime") String beginTime,@Param("endTime") String endTime,@Param("kj") String kj,@Param("btyBrandId")String btyBrandId,@Param("dm") String dm,@Param("xm") String xm,@Param("ddName") String ddName,@Param("otherName") String otherName);
    /**
     * 获取报销单导出excel列表(不分页)
     */
    List<Map<String, Object>> listExport(@Param("condition") String condition,@Param("status") String status,@Param("flag") String flag,@Param("beginTime") String beginTime,@Param("endTime") String endTime,@Param("kj") String kj,@Param("btyBrandId")String btyBrandId,@Param("dm") String dm,@Param("xm") String xm,@Param("ddName") String ddName,@Param("otherName") String otherName);
    List<BtyBxda> bxrList(@Param("kj") String kj,@Param("dm") String dm);
    List<BtyBxda> bxrLists(@Param("kj") String kj,@Param("dm") String dm);
    List<BtyBxda> kjList(@Param("kj") String kj);
    List<BtyBxd> dmList(@Param("kj") String kj,@Param("ddName") String ddName);
    List<BtyBxd> sumZcje(@Param("openid") String openid,@Param("beginTime") String beginTime,@Param("endTime") String endTime);
    List<BtyBxd> sumWbxje(@Param("openid") String openid,@Param("beginTime") String beginTime,@Param("endTime") String endTime);
    List<BtyBxd> sumJe(@Param("openid") String openid,@Param("beginTime") String beginTime,@Param("endTime") String endTime);
    BtyBxd info(@Param("id") String id);
    String yaoMa(@Param("dm") String dm);



}
